The match() methodThis example tests if a string contains a specified word and returns the word if it was found.
#Title: Examples : JavaScript String object#Element: 298: Examples : JavaScript String object#Article: 174: JavaScript String object